package com.ece.ecofitness.service;

import java.util.List;

import org.apache.commons.fileupload.FileItem;

import com.ece.ecofitness.model.Article;


public interface ArticleService {
	boolean addArticle(String admin, String label, String description,int point,FileItem photo,String dir);
	boolean updateArticle(int idArticle, String label, String description,int point,FileItem photo,String dir);
	List<Article> getAllArticle();
	Article getArticle(int id);
}
